import java.util.Scanner;

import static java.lang.Math.sqrt;

public class Test {
    /*  public static void main(String[] args) {
          int a = 10;
          double b =  20.0;
          int[] array = {1,2,3};
          int[] array1 = array;
          //100,100
          int number = 100;
          System.out.println(number);
          change(number);
          System.out.println(number);


      }

      public static void change(int number) {
          number = 200;
      }

     */
    /*public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入机票的价格:");

        int ticket = sc.nextInt();
        System.out.println("请输入当前月份");
        int month = sc.nextInt();
        System.out.println("请输入乘坐的是经济舱 1 ,还是头等舱 0");
        int seat = sc.nextInt();
        double price = putprice(ticket, month, seat);
        System.out.println(price);
    }

    public static double putprice(int ticket, int month, int seat) {
        if (month >= 5 && month <= 10) {
            if (seat == 0) {
                ticket *= 0.9;
            } else if (seat == 1) {
                ticket *= 0.85;
            } else {
                System.out.println("没有这个舱位");
            }
        } else if ((month >= 1 && month <= 4) || (month >= 11 && month <= 12)) {
            if (seat == 0) {
                ticket *= 0.7;
            } else if (seat == 1) {
                ticket *= 0.65;
            } else {
                System.out.println("没有这个舱位");
            }
        } else {
            System.out.println("重新输入");
        }
        return ticket;
    }
    */
    public static void main(String[] args) {
        int count= 0;

        for(int j = 101;j<=200;j++){
            boolean flag = true;
            for(int i = 2;i<=sqrt(j);i++){
                if(j%i==0){
                    flag = false;
                  break;
                }
            }
            if(flag ){
                System.out.println("当前数字"+j+"为质数");
                count++;
            }
        }

        System.out.println(count);
    }

}
